﻿using ProjectManage.Core.Entity.SYS;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ProjectManage.Application.System.SendData
{
    public class UserRoleSendData : IEntitySeedData<SysUserRole>
    {
        // 配置种子数据
        public IEnumerable<SysUserRole> HasData(DbContext dbContext, Type dbContextLocator)
        {
            return new List<SysUserRole>
            {
                new SysUserRole { Id = new Guid("ed6cee05-38e9-4533-a394-4072670ada4d"),
                              Account = "Admin" ,
                              RoleCode = "SystemAdmin",
                              Creater= "Admin" ,
                              CreatedName ="管理员",
                              CreatedTime = DateTime.Now },
            };
        }
    }
}
